// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import i18n from './lang/index';
// import VCharts from 'v-charts';
import router from './router';
import iView from 'iview/dist/iview.min';
import 'iview/dist/styles/iview.css';
import axios from 'axios';

Vue.config.productionTip = false;
Vue.prototype.$http = axios;
Vue.use(iView);
// Vue.use(VCharts);

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    i18n,
    components: { App },
    template: '<App/>'
});
